package com.dhl.facade;

/**
 * @title: DVDPlayer
 * @Author danghailiang
 * @Date: 2022/8/10 8:04
 * @Version 1.0
 */
// dvd播放器
public class DVDPlayer {
    private static DVDPlayer dvdPlayer = new DVDPlayer();

    private DVDPlayer(){}

    public static DVDPlayer getInstance(){
        return dvdPlayer;
    }

    public void on(){
        System.out.println("打开dvd播放器");
    }
    public void off(){
        System.out.println("关闭dvd播放器");
    }
    public void play(){
        System.out.println("开始使用dvd播放器");
    }
    public void pause(){
        System.out.println("暂停使用dvd播放器");
    }
    public void setDvd(){
        System.out.println("设置dvd播放器");
    }
}
